﻿
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Text;
using System.ComponentModel.DataAnnotations.Schema;
namespace WinnerCMS.Model
{
    [DataContract]
    public partial class VoteChoice
    {
        public VoteChoice()
        {
        }
        [DataMember]
        public int Id { get; set; }
        [DataMember]
        public string ChoiceTitle { get; set; }
        [DataMember]
        public int VoteNum { get; set; }
        [DataMember]
        public string PicUrl { get; set; }
        [DataMember]
        public bool IsDefault { get; set; }
        [DataMember, Index]
        public int VoteId { get; set; }
        [DataMember]
        public int OrderId { get; set; }

        [IgnoreDataMember]
        public Vote Vote
        {
            get;
            set;
        }
    }
}